package com.amtf.datafile3.core.xsv.parser;

import com.amtf.datafile3.DataException;
import com.amtf.datafile3.DataFieldParser;
import com.amtf.datafile3.core.std.type.StringField;

public class XsvStringFieldParser extends AbsXsvDataFieldParser<StringField, String> {

	public XsvStringFieldParser(char quote, boolean trimValue) {
		super(null, quote, trimValue);
	}

	@Override
	protected String convertString(String value) throws DataException {
		return value;
	}

	@Override
	public DataFieldParser clone() {
		XsvStringFieldParser newObj = new XsvStringFieldParser(quote, trimValue);
		return newObj;
	}
}
